package com.alvin.mbp.entity;

public enum Gender {
	MALE("\u5148\u751f"),
	FEMALE("\u5973\u58eb");
	private String displayName;
	
	Gender(String displayName) {
		this.displayName = displayName;
	}
	
	public String getName() {
		return this.name();
	}

	public static Gender enumFor(String value) {
		try {
			return Gender.valueOf(value);
		} catch (Exception e) {
			return null;
		}
	}
	public String getDisplayName(){
		return this.displayName;
	}	
}
